<?php

/**
 * Qlist template
 * designed to display a list of items
 * like list of divs, each one is a question,
 * for example 'all questions' or by tag or 'hot questions'
 * it has 3 parts;
 * title, body and pagination block
 * 
 * The reason that pagination is included
 * in this template is because we can send this parsed
 * 
 * template as ajax response, and it will be complete
 * with pagination.
 *
 */
class tplQlist extends StudyBuddy\Template\Template {

    protected static $vars = array(
        'qtypes' => '',
        'qlist' => '',
        'pages' => '',
        'notAjaxPaginatable' => '');
//    <div id="qpages">%3$s</div>
    protected static $tpl = '
        %1$s
        <!-- start listQuestions -->
        <div class="ctl-ct">
            <div class="ctl-box">
                <!-- start Question -->
                %2$s
                <!-- end Question -->
            </div>
        </div>
        <!-- end listQuestions -->
        %3$s';

}
